-- GENERATED SPELL FOR [Fiend of Fire] --


function spell0_30042(pUnit, Event) --@Orb of Flame,n/a--
pUnit:FullCastSpellOnTarget(55872,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30042', 2000, 1)
end

function Sorts_30042(pUnit, Event)
local choix_sorts_30042 = math.random(0, 0)
if choix_sorts_30042 == 0 then
pUnit:RegisterEvent('spell0_30042', 1, 1)
end
end

function mob30042_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30042', math.random(1500, 3000), 1)
end

function mob30042_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30042_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30042_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30042, 1, 'mob30042_Action')
RegisterUnitEvent(30042, 2, 'mob30042_Leave')
RegisterUnitEvent(30042, 3, 'mob30042_Kill')
RegisterUnitEvent(30042, 4, 'mob30042_Die')
